//
//  WPReturnListModel.m
//  wobingwoyi
//
//  Created by WGP on 2016/11/15.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "WPReturnListModel.h"

@implementation WPReturnListModel

-(void)setDescp_list:(NSArray *)descp_list
{
    _descp_list = descp_list;
    
    NSMutableArray *array = [NSMutableArray array];
    NSMutableString *mutableStr = [NSMutableString string];
    
    for (NSString *str in self.descp_list)
    {
        //此处判断不太严谨,还待完善
        if ([str hasPrefix:@"http://"])
        {
            [array addObject:str];
        }
        else
        {
            [mutableStr appendString:str];
        }
    }
    self.descpStr = mutableStr;
    self.descpURLS = array.copy;
}

@end
